package com.woniu.pojo;

import java.util.ArrayList;
import java.util.List;

public class InterviewExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public InterviewExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andViewIdIsNull() {
            addCriterion("view_id is null");
            return (Criteria) this;
        }

        public Criteria andViewIdIsNotNull() {
            addCriterion("view_id is not null");
            return (Criteria) this;
        }

        public Criteria andViewIdEqualTo(Integer value) {
            addCriterion("view_id =", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdNotEqualTo(Integer value) {
            addCriterion("view_id <>", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdGreaterThan(Integer value) {
            addCriterion("view_id >", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("view_id >=", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdLessThan(Integer value) {
            addCriterion("view_id <", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdLessThanOrEqualTo(Integer value) {
            addCriterion("view_id <=", value, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdIn(List<Integer> values) {
            addCriterion("view_id in", values, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdNotIn(List<Integer> values) {
            addCriterion("view_id not in", values, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdBetween(Integer value1, Integer value2) {
            addCriterion("view_id between", value1, value2, "viewId");
            return (Criteria) this;
        }

        public Criteria andViewIdNotBetween(Integer value1, Integer value2) {
            addCriterion("view_id not between", value1, value2, "viewId");
            return (Criteria) this;
        }

        public Criteria andStudentIdIsNull() {
            addCriterion("student_id is null");
            return (Criteria) this;
        }

        public Criteria andStudentIdIsNotNull() {
            addCriterion("student_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudentIdEqualTo(Integer value) {
            addCriterion("student_id =", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotEqualTo(Integer value) {
            addCriterion("student_id <>", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdGreaterThan(Integer value) {
            addCriterion("student_id >", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_id >=", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdLessThan(Integer value) {
            addCriterion("student_id <", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_id <=", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdIn(List<Integer> values) {
            addCriterion("student_id in", values, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotIn(List<Integer> values) {
            addCriterion("student_id not in", values, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdBetween(Integer value1, Integer value2) {
            addCriterion("student_id between", value1, value2, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_id not between", value1, value2, "studentId");
            return (Criteria) this;
        }

        public Criteria andEmpIdIsNull() {
            addCriterion("emp_id is null");
            return (Criteria) this;
        }

        public Criteria andEmpIdIsNotNull() {
            addCriterion("emp_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmpIdEqualTo(Integer value) {
            addCriterion("emp_id =", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotEqualTo(Integer value) {
            addCriterion("emp_id <>", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdGreaterThan(Integer value) {
            addCriterion("emp_id >", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("emp_id >=", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdLessThan(Integer value) {
            addCriterion("emp_id <", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdLessThanOrEqualTo(Integer value) {
            addCriterion("emp_id <=", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdIn(List<Integer> values) {
            addCriterion("emp_id in", values, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotIn(List<Integer> values) {
            addCriterion("emp_id not in", values, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdBetween(Integer value1, Integer value2) {
            addCriterion("emp_id between", value1, value2, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotBetween(Integer value1, Integer value2) {
            addCriterion("emp_id not between", value1, value2, "empId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andViewDetailIsNull() {
            addCriterion("view_detail is null");
            return (Criteria) this;
        }

        public Criteria andViewDetailIsNotNull() {
            addCriterion("view_detail is not null");
            return (Criteria) this;
        }

        public Criteria andViewDetailEqualTo(String value) {
            addCriterion("view_detail =", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailNotEqualTo(String value) {
            addCriterion("view_detail <>", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailGreaterThan(String value) {
            addCriterion("view_detail >", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailGreaterThanOrEqualTo(String value) {
            addCriterion("view_detail >=", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailLessThan(String value) {
            addCriterion("view_detail <", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailLessThanOrEqualTo(String value) {
            addCriterion("view_detail <=", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailLike(String value) {
            addCriterion("view_detail like", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailNotLike(String value) {
            addCriterion("view_detail not like", value, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailIn(List<String> values) {
            addCriterion("view_detail in", values, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailNotIn(List<String> values) {
            addCriterion("view_detail not in", values, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailBetween(String value1, String value2) {
            addCriterion("view_detail between", value1, value2, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewDetailNotBetween(String value1, String value2) {
            addCriterion("view_detail not between", value1, value2, "viewDetail");
            return (Criteria) this;
        }

        public Criteria andViewResultIsNull() {
            addCriterion("view_result is null");
            return (Criteria) this;
        }

        public Criteria andViewResultIsNotNull() {
            addCriterion("view_result is not null");
            return (Criteria) this;
        }

        public Criteria andViewResultEqualTo(String value) {
            addCriterion("view_result =", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultNotEqualTo(String value) {
            addCriterion("view_result <>", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultGreaterThan(String value) {
            addCriterion("view_result >", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultGreaterThanOrEqualTo(String value) {
            addCriterion("view_result >=", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultLessThan(String value) {
            addCriterion("view_result <", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultLessThanOrEqualTo(String value) {
            addCriterion("view_result <=", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultLike(String value) {
            addCriterion("view_result like", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultNotLike(String value) {
            addCriterion("view_result not like", value, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultIn(List<String> values) {
            addCriterion("view_result in", values, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultNotIn(List<String> values) {
            addCriterion("view_result not in", values, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultBetween(String value1, String value2) {
            addCriterion("view_result between", value1, value2, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewResultNotBetween(String value1, String value2) {
            addCriterion("view_result not between", value1, value2, "viewResult");
            return (Criteria) this;
        }

        public Criteria andViewRemarkIsNull() {
            addCriterion("view_remark is null");
            return (Criteria) this;
        }

        public Criteria andViewRemarkIsNotNull() {
            addCriterion("view_remark is not null");
            return (Criteria) this;
        }

        public Criteria andViewRemarkEqualTo(String value) {
            addCriterion("view_remark =", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkNotEqualTo(String value) {
            addCriterion("view_remark <>", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkGreaterThan(String value) {
            addCriterion("view_remark >", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("view_remark >=", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkLessThan(String value) {
            addCriterion("view_remark <", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkLessThanOrEqualTo(String value) {
            addCriterion("view_remark <=", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkLike(String value) {
            addCriterion("view_remark like", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkNotLike(String value) {
            addCriterion("view_remark not like", value, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkIn(List<String> values) {
            addCriterion("view_remark in", values, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkNotIn(List<String> values) {
            addCriterion("view_remark not in", values, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkBetween(String value1, String value2) {
            addCriterion("view_remark between", value1, value2, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewRemarkNotBetween(String value1, String value2) {
            addCriterion("view_remark not between", value1, value2, "viewRemark");
            return (Criteria) this;
        }

        public Criteria andViewSavvyIsNull() {
            addCriterion("view_savvy is null");
            return (Criteria) this;
        }

        public Criteria andViewSavvyIsNotNull() {
            addCriterion("view_savvy is not null");
            return (Criteria) this;
        }

        public Criteria andViewSavvyEqualTo(String value) {
            addCriterion("view_savvy =", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyNotEqualTo(String value) {
            addCriterion("view_savvy <>", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyGreaterThan(String value) {
            addCriterion("view_savvy >", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyGreaterThanOrEqualTo(String value) {
            addCriterion("view_savvy >=", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyLessThan(String value) {
            addCriterion("view_savvy <", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyLessThanOrEqualTo(String value) {
            addCriterion("view_savvy <=", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyLike(String value) {
            addCriterion("view_savvy like", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyNotLike(String value) {
            addCriterion("view_savvy not like", value, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyIn(List<String> values) {
            addCriterion("view_savvy in", values, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyNotIn(List<String> values) {
            addCriterion("view_savvy not in", values, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyBetween(String value1, String value2) {
            addCriterion("view_savvy between", value1, value2, "viewSavvy");
            return (Criteria) this;
        }

        public Criteria andViewSavvyNotBetween(String value1, String value2) {
            addCriterion("view_savvy not between", value1, value2, "viewSavvy");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}